package com.softeem.mapper;

import com.softeem.domain.Comment;
import com.softeem.domain.Travle;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.softeem.domain.vo.CommentVO;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2022-07-01
 */
public interface TravleMapper extends BaseMapper<Travle> {

    List<Travle> addTravle(Travle travle);

    void updateRemen(String traId);

    void updateYouhui(String traId);

    void updateDelete(String traId);

    void renewYouhui(String traId);

    void renewRemen(String traId);

    void recoverBin(String traId);

    List<CommentVO> findAllComment();

    List<Comment> deleteComment(Integer pId);
}
